namespace BibleScreen
{
    /// <summary>
    /// Represents a bible text
    /// </summary>
    public class BibleText
    {
        /// <summary>
        /// Instantiates a new BibleText
        /// </summary>
        /// <param name="title">A title for the verse</param>
        /// <param name="reference">Where the verse is in the Bible</param>
        /// <param name="text">The verse itself</param>
        public BibleText(string title, string reference, string text)
        {
            Title = title;
            Reference = reference;
            Text = text;
        }

        /// <summary>
        /// The title of the verse
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// Where this verse is in the Bible
        /// </summary>
        public string Reference { get; set; }

        /// <summary>
        /// The verse itself
        /// </summary>
        public string Text { get; set; }

        /// <summary>
        /// Returns this verse as a string
        /// </summary>
        /// <returns>Title, Reference => Text</returns>
        public override string ToString()
        {
            return string.Format("{0}, {1} => {2}", Title, Reference, Text);
        }
    }
}